<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>

  <style>
    .flex {
      display: flex;
      border: 1px solid black;
      justify-content: space-between;
    }
    .flex > div {
      width: 100px;
      height: 100px;
      background-color: green;
      flex: 1; /*宽度变化了，不是100 px 了*/
      /* flex-grow: 1;
      flex-shrink: 1;
      flex-basis: 0%; */
    }
  </style>
</head>
<body>
  <h3>flex</h3>

  <h3>webpack plugin 与 loader 的区别</h3>
  loader用于对模块源码的转换，描述了如何转换非 JS 文件。plugin用于解决 loader 无法解决的事情，多用于loader 编译之后的优化。

  <div class='flex'>
    <div></div>
    <div></div>
    <div></div>
  </div>
</body>
</html>